//
// Created by yanhai on 2020/4/6.
//

#ifndef QT_STUDY_TEACHER_H
#define QT_STUDY_TEACHER_H

#include <QObject>

class Teacher : public QObject {
Q_OBJECT
public:
    explicit Teacher(QObject *parent = nullptr);

signals:
    // 自定义信号 写到signals下
    // 返回值是void, 只需要声明，不需要实现
    // 可以有参数，可以重载
    void hungry();

    void hungry(QString foodName);

public slots:
};


#endif //QT_STUDY_TEACHER_H
